<template>
	<view class="container">
		<u--text text="欢迎使用本系统，仅供演示功能使用，正在完善中。。。"></u--text>
		<!-- 大家好，是我{{this.$store.state.userInfo.nickName}}<br>
		------------- 权限测试 -------------
		<view v-if="hasRole(['common'])">角色权限测试</view>
		<view v-if="hasPerimission(['system:user:list'])">按钮权限测试</view> ------------- 字典测试 -------------
		----------------字典一-----------------------
		<dict-tag :options="dict.type.sys_user_sex" :value="1" />
		<view v-for="dict in dict.type.sys_user_sex" :key="dict.value"> {{dict.label}}</view>
		------------------字典二---------------------
		<dict-tag :options="dict.type.yes_and_no" :value="1" />
		<view v-for="dict in dict.type.yes_and_no" :key="dict.value"> {{dict.label}}</view>-->
		<!-- ------------- 手写测试------------- -->
		<!-- <htz-signature @sumbit="sumbit" cid="ceshi1"></htz-signature> -->
		<!-- <web-view src="https://nav.hzwdd.cn/" ></web-view> -->
		<!-- <u-action-sheet :list="list" v-model="show"></u-action-sheet>
		<u-icon name="photo"></u-icon>
		<u-icon label="uView" size="40" name="https://cdn.uviewui.com/uview/example/button.png"></u-icon>
		<u--text text="我用十年青春,赴你最后之约"></u--text>
		<u--text mode="name" text="张三三" format="encrypt"></u--text>
		<u--text mode="date" text="1612959739"></u--text> -->
	</view>
</template>
<script>
	import htzSignature from '@/components/htz-signature/htz-signature.vue'
	export default {
		computed: {},
		// dicts: ['sys_user_sex', 'yes_and_no'],
		components: {
			htzSignature,
		},
		data() {
			return {
				list: [{
					text: '点赞',
					color: 'blue',
					fontSize: 28
				}, {
					text: '分享'
				}, {
					text: '评论'
				}],
				show: true,
			}
		},
		onLoad() {

		},
		onShow() {
			console.log(uni.getStorageSync("token"));
		},
		methods: {
			toJSON() {},
			sumbit(res) {}
		}
	}
</script>
<style lang="scss" scoped>
	.container {
		margin: 20rpx 20rpx;
	}
</style>
